package com.webside.playbackstatistics.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.webside.base.basemapper.BaseMapper;
import com.webside.playbackstatistics.model.AnaSummaryStatEntity;
import com.webside.resource.model.ResourceEntity;

@Repository
public interface AnaSummaryStatMapper extends BaseMapper<ResourceEntity, Long> {

	// 将每日的统计数据存储起来
	public int addAnaSummaryStat(AnaSummaryStatEntity anaSummaryStat);
	
	
	// 将每日的统计数据存储起来之前先删除
	public int deleteAnaSummaryStat();

	// 根据参数查询不同的排名信息
	public List<AnaSummaryStatEntity> selectAnaSummaryStatAll(AnaSummaryStatEntity anaSummaryStat);
	
	
	
	//根据日周月统计上升指数排名
	
	public List<AnaSummaryStatEntity> selectAnaRisingIndexAll(AnaSummaryStatEntity anaSummaryStat);

}
